import Vue from 'vue'
import App from './App.vue'
import router from './router'
import 'element-ui/lib/theme-chalk/base.css';
// collapse 展开折叠
import CollapseTransition from 'element-ui/lib/transitions/collapse-transition';
// import less from 'less'
// console.log(less)
import ElementUI from 'element-ui'
import store from './store'
// import 'amis/sdk/sdk.js';
import 'amis/lib/themes/default.css';
import 'element-ui/lib/theme-chalk/index.css'
import '@/assets/style/test.less'

import splitPane from 'vue-splitpane'
// 注册为全局组件
Vue.component('split-pane', splitPane);



// 在main.js中全局引入实例并挂载到原型
// import SocketService from '@/Util/socket_service'
// // 对服务端进行websocket的连接
// SocketService.Instance.connect()

// Vue.prototype.$socket = SocketService.Instance



Vue.use(ElementUI)
Vue.component(CollapseTransition.name, CollapseTransition)
// Vue.use(less)
Vue.config.productionTip = false
new Vue({
    router,
    store,
    render: h => h(App),
}).$mount('#app')